#pragma once

#include "resource.h"
// CXXMsgDlg dialog

class CXXMsgDlg : public CDialog
{
	DECLARE_DYNAMIC(CXXMsgDlg)

public:
	CXXMsgDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CXXMsgDlg();

// Dialog Data
	enum { IDD = IDD_MSG_DIALOG };

	int WIN_WIDTH;
	int  WIN_HEIGHT;
	CStringArray m_aryMessage;
	CString m_strCaption;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	void ShowWindowEx();
	void SetPromptMessage(CStringArray& aryMsg);
	void SetPromptCaption(CString lpszCaption);

public:
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnBtnClose();
};
